<?php

namespace App\Livewire\User;

use Filament\Actions\Concerns\InteractsWithActions;
use Filament\Actions\Contracts\HasActions;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Livewire\Component;
use Filament\Actions\Action;

class BuyPlanModal extends Component implements HasForms, HasActions
{
    use InteractsWithActions;
    use InteractsWithForms;
    public function render()
    {
        return view('livewire.user.buy-plan-modal');
    }

    public function showBuyPlanModalAction():Action
    {
        return Action::make('showBuyPlanModal')
            ->modalContent(view('livewire.modals.buy-plan-modal'));

    }
}
